<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo ($seo['title']); ?></title>
<meta name="keywords" content="<?php echo ($seo['keywords']); ?>"/>
<meta name="description" content="<?php echo ($seo['description']); ?>"/>
<link href="<?php echo C('WWWURL');?>/static/style/style.css?v=20140107" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo C('WWWURL');?>/static/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="<?php echo C('WWWURL');?>/static/mediaplayer-3-16/swfobject.js"></script>
<script type="text/javascript" src="__JS__common.js"></script>
<script type="text/javascript"> 
var  STATIC_URL= '<?php echo C("WWWURL");?>/';
var isNSupportFlash = !! (document.createElement("video").canPlayType && document.createElement("video").canPlayType("video/mp4"));
var isNSupportFlashAudio = !! (document.createElement("audio").canPlayType && document.createElement("video").canPlayType("audio/mpeg"));
var HAOWJ = '<?php echo C("WWWURL");?>/';
//var isNSupportFlash = !! document.createElement("audio").canPlayType && document.createElement("audio").canPlayType("audio/mpeg") && navigator.userAgent.indexOf("Maxthon") < 0;
	
</script>
<link rel="stylesheet" type="text/css" href="/Public/style/user.css" />
<link rel="shortcut icon" href="<?php echo C('WWWURL');?>/static/style/images/favicon.ico" type="/image/x-icon" />
</head>

<body id="body123">


<div class="box">
<!--顶部 Start-->
	<div class="hTop">
		
         <div class="hTop_h2"><a href="<?php echo C('WWWURL');?>">返回首页</a></div>
       
        <div class="hTop_r">
        	<div class="hTop_rb">
            <a href="<?php echo U('/User/Index');?>">个人中心</a> | <a href="###" class="hTop_r_exit">退出</a>
        	</div>
        	<span>欢迎您，<a href="<?php echo U('/User/Index');?>" target="_blank"><?php echo ($userInfo["user_name"]); ?></a></span>
        </div>
       
    </div>
    <!--顶部 End-->
    
     <!--头部 Start-->
    <div class="head cl">
    	<a href="<?php echo C('WWWURL');?>" class="logo" title="好外教"></a>
        <h1>全美顶尖外教1对1口语培训</h1>
        <div class="phone">400-686-9850</div>
    </div>
	

    <!--头部 End-->
	<div class="nav">
    	<a onClick="clickCount(37);" <?php if($module_name == 'Index'): ?>class="nav_current"<?php endif; ?>    href="<?php echo U('/User/Index');?>">个人中心</a>
        <a onClick="clickCount(39);"  <?php if($module_name == 'Order'): ?>class="nav_current"<?php endif; ?>   href="<?php echo U('/User/Order/index');?>">购买记录<span class="sup">1</span></a>
        <a onClick="clickCount(40);" <?php if($module_name == 'Grade'): ?>class="nav_current"<?php endif; ?>  href="<?php echo U('/User/Grade');?>">评分管理<em class="news" style="background:url(__PUBLIC__/images/xbk.png) no-repeat; background-position: 0px -280px; width:20px; height:20px; right:-20px; top:4px;"></em></a>
		<div class="nav_my  userlead" >
		<a  class="nav_current" style=" float:right;font-size:14px; background-color:#FFFFFF; border-bottom:none; color:#424243; cursor: pointer;" ><p class="icon" style=" background-position:-120px -245px; width:30px; height:25px; float:left; margin-top:10px; "></p>新手引导</a>
		</div>
    </div>
<!--个人中心-修改资料 Start-->
    <div class="my_data">
    	<div class="my_data_h1 cl"><b></b>修改资料<div id="edit_res" style="display:none" class="my_data_tip"></div></div>
        <div class="my_data_t">基本信息</div>
        <dl>
        	<dt>头像</dt>
            <dd><img id="img" onerror="this.onerror=null;this.src='<?php echo C('WWWURL');?>/static/style/images/portrait.png';" alt="" src="<?php echo $res["img"]."_big.jpg";?>"></dd>
          <dd class="my_data_img"><a href="###">修改头像</a></dd>
        </dl>
        <dl>
            <dt>登录名</dt>
            <dd id="mobile"><?php echo $res["mobile"]; ?></dd>
        </dl>
        <!--<dl>
        	
            <dt>英语书面等级</dt>
            <?php if($res["leveltest"]){ ?>
            <dd>Lv <?php echo $res["leveltest"];?></dd>
            <?php }else{ ?>
            <dd class="my_data_grade" id="leveltest">您的英语尚未定级，请进行<a href="<?php echo HAOWJ; ?>leveltest.htm">水平测试</a></dd>
            <?php } ?>
        </dl>-->
        <dl>
            <dt>真实姓名</dt>
            <dd><input id="name" type="text" value="<?php echo $res["name"];?>" maxlength="10"></dd>
        </dl>
         <dl>
            <dt>first name</dt>
            <dd><input id="first_name" type="text" value="<?php echo $res["first_name"];?>" maxlength="15"></dd>
        </dl>
         <dl>
            <dt>last name</dt>
            <dd><input id="last_name" type="text" value="<?php echo $res["last_name"];?>" maxlength="15"></dd>
        </dl>
       
       
        <dl>
            <dt>性别</dt>
            <dd id="gender">
                <label><input type="radio" id="sex" <?php if($res["gender"] == 1){ ?> checked=""  <?php } ?> value="1" name="sex">男</label>
                <label><input type="radio" id="sex" <?php if($res["gender"] == 2){ ?> checked=""  <?php } ?> value="2" name="sex">女</label>
            </dd>
            <dd class="my_data_pro"></dd>
        </dl>
      <dl class="my_data_bir">
            <dt>出生日期</dt>
            <dd class="my_data_year">
             <select id="year" onchange="changeday()" name="year" > <option value="">请选择年</option></select>
            </dd>
        <dd class="my_data_month">
          <select id="month" name="month"  onchange="changeday()" ><option value="">请选择月</option> </select>
            
        </dd>
            <dd class="my_data_day">
            <select id="day" name="day" ><option value="">请选择日</option> </select>
            
            </dd>
        </dl>
        <dl>
          <dt>备用联系方式</dt>
            <dd><input id="emergency_contact" type="text" value="<?php echo $res["emergency_contact"];?>" maxlength="20"></dd>
          <dd class="my_data_pro" style="color:#515151">方便课程顾问督促学习进度和答疑</dd>
      </dl>
     <dl>
            <dt>联系邮箱</dt>
            <dd><input id="email" type="text" value="<?php echo $res["email"]; ?>" onBlur="if(this.value!=''){check_reged_edit_info(0)}"></dd>
            <dd class="my_data_pro" id="email_data_pro" style="display:none" >请填写正确的邮箱格式</dd>
        </dl>
        <dl>
            <dt>QQ</dt>
            <dd><input ime-mode:disabled" id="qq" type="text" value="<?php echo $res["qq"]; ?>" onBlur="check_reged_edit_info(1)" maxlength="20"></dd>
             <dd class="my_data_pro" id="qq_data_pro" style="display:none" >请填写正确的QQ号</dd>
        </dl>
        <dl class="my_data_adr">
            <dt>所在地</dt>
            <dd>
            <select onchange="adr_province(this)" id="adr_province" name="" >
                <option sid="34" value="请选择省市">请选择省市</option>
					<option sid="0" value="北京">北京</option>
					<option sid="1" value="上海">上海</option>
					<option sid="2" value="天津">天津</option>
					<option sid="3" value="重庆">重庆</option>
					<option sid="4" value="河北">河北</option>
					<option sid="5" value="山西">山西</option>
					<option sid="6" value="内蒙古">内蒙古</option>
					<option sid="7" value="辽宁">辽宁</option>
					<option sid="8" value="吉林">吉林</option>
					<option sid="9" value="黑龙江">黑龙江</option>
					<option sid="10" value="江苏">江苏</option>
					<option sid="11" value="浙江">浙江</option>
					<option sid="12" value="安徽">安徽</option>
					<option sid="13" value="福建">福建</option>
					<option sid="14" value="江西">江西</option>
					<option sid="15" value="山东">山东</option>
					<option sid="16" value="河南">河南</option>
					<option sid="17" value="湖北">湖北</option>
					<option sid="18" value="湖南">湖南</option>
					<option sid="19" value="广东">广东</option>
					<option sid="20" value="广西">广西</option>
					<option sid="21" value="海南">海南</option>
					<option sid="22" value="四川">四川</option>
					<option sid="23" value="贵州">贵州</option>
					<option sid="24" value="云南">云南</option>
					<option sid="25" value="西藏">西藏</option>
					<option sid="26" value="陕西">陕西</option>
					<option sid="27" value="甘肃">甘肃</option>
					<option sid="28" value="宁夏">宁夏</option>
					<option sid="29" value="青海">青海</option>
					<option sid="30" value="新疆">新疆</option>
					<option sid="31" value="香港">香港</option>
					<option sid="32" value="澳门">澳门</option>
					<option sid="33" value="台湾">台湾</option>
           		 </select>
            </dd>
            <dd>
            <select id="adr_city" name="">
                <option selected>不限</option>
            </select>
            </dd>
        </dl>
        <dl>
            <dt>单位名称</dt>
            <dd><input id="corporate_name" type="text" value="<?php echo ($userInfo["corporate_name"]); ?>" maxlength="60"></dd>
        </dl>
        <dl>
            <dt>部门/职位</dt>
            <dd><input id="profession" value="<?php echo ($userInfo["profession"]); ?>" type="text" maxlength="150"></dd>
        </dl>
        <div class="my_data_t">修改密码</div>
        <dl>
            <dt>当前密码</dt>
            <dd id="reg_psw3"><input id="nowpassword" type="password" onblur="if(this.value!=''){check_passworded_find(3);}"></dd>
            <dd id="reg__tip_psw3" class="my_data_pro" style="visibility: hidden;"></dd>
        </dl>
        <dl>
            <dt>新密码</dt>
            <dd id="reg_psw1"><input id="newpassword" type="password" onblur="if(this.value!=''){check_passworded_find(1);}"></dd>
            <dd id="reg__tip_psw1" class="my_data_pro"></dd>
        </dl>
        <dl>
            <dt>确认新密码</dt>
            <dd id="reg_psw4"><input id="newpassword1" type="password" onblur="if(this.value!=''){check_passworded_find(4);}"></dd>
            <dd id="reg__tip_psw4" class="my_data_pro" style="display:none">密码不一致</dd>
        </dl>
        <dl>
            <dt>&nbsp;</dt>
            <dd><a tokenid="<?php echo ($token); ?>" class="my_data_save" href="###">保存</a></dd>
        </dl>
  	</div>
    <!--个人中心-修改资料 End-->
    <div class="footer cl">
    	<ul class="fl">
        	<li>
            	<h4>关于好外教</h4>
                <dl>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/introduction.htm#Come"><b></b><strong>好外教介绍</strong></a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/join.htm#Come"><b></b><strong>加入我们</strong></a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/contact.htm#Come"><b></b>联系我们</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/serviceagreement.htm#Come"><b></b>服务协议</a></dd>
                </dl>
            </li>
            <li class="footer_li_2">
            	<dl>
            	<dt>学习系统</dt>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/courseintroduction.htm"><b></b>课程体系</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/service.htm"><b></b>服务特色</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/teacherteam.htm"><b></b>专业师资</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/courseconsultant.htm"><b></b>贴心顾问</a></dd>
                <!--<dd><a target="_blank" href="#"><b></b>使用流程</a></dd>-->
                </dl>
            </li>
            <li class="footer_li_3">
            	<dl>
            	<dt>学习资料</dt>
				<dd><a target="_blank" href="<?php echo C('WWWURL');?>/mothersday.htm"><b></b>学员故事</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/bbc/index.htm"><b></b>BBC NEWS</a></dd>
                </dl>
            </li>
            <li>
            	<dl>
            	<dt>关注我们</dt>
                <dd><a target="_blank" href="http://e.weibo.com/ciba"><b class="footer_b_sina"></b>新浪微博</a></dd>
                </dl>
            </li>
        </ul>
        <div class="fr">
        	<div class="footer_fr">
                <div class="phone">400-686-9850<p>info@haowj.com</p></div>
                <div class="footer_qr">
                    <div class="footer_qr_1"></div>
                    <div class="footer_qr_2"></div>
                </div>
            </div>
        </div>
    </div>
  
    <div class="copy">
    	<div class="copy_r"><a target="_blank" href="<?php echo C('WWWURL');?>/licence/001.jpg">京ICP证100054号</a><a target="_blank" href="http://www.kingsoft.com/licence/002.jpg">新出网证<京>字001号 </a> <a target="_blank" href="http://www.miitbeian.gov.cn">京ICP备14019197-1号</a>©2003 Kingsoft Corp 京公网安备11010802014093号</div>
    </div>
    <!--版权 End-->
       
    <script type="text/javascript" src="<?php echo C('WWWURL');?>/static/js/user_register.js?v=20131204"></script>
    
   
   
 
    <!--右侧在线咨询 Start-->
    <a  class="pendant" target="_blank" href="http://chat16.live800.com/live800/chatClient/chatbox.jsp?companyID=294632&jid=1826801284&enterurl=http%3A%2F%2Flocalhost%2Fhaowaijiao%2Findex.php&pagetitle=%E5%A4%96%E6%95%99%E4%B8%80%E5%AF%B9%E4%B8%80_%E8%8B%B1%E8%AF%AD%E5%A4%96%E6%95%99_%E8%8B%B1%E8%AF%AD%E5%8F%A3%E8%AF%AD%E5%AD%A6%E4%B9%A0_%E8%8B%B1%E8%AF%AD%E5%9F%B9%E8%AE%AD_%E5%A5%BD%E5%A4%96%E6%95%99%E7%BD%91_%E5%85%A8%E7%BE%8E%E9%A1%B6%E5%B0%96%E5%A4%96%E6%95%991%E5%AF%B91%E5%8F%A3%E8%AF%AD%E5%9F%B9%E8%AE%AD&pagereferrer=http%3A%2F%2Flocalhost%2F&lan=zh&tm=1374633880123"></a>
    <style type="text/css">
        .two_codes {
            position: fixed;
            bottom: 50px;
            right: 0px;
            z-index: 100;
            _position: absolute;
            _bottom: auto;
            _top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop + 500 : document.body.scrollTop+(document.body.clientHeight-this.clientHeight) - 1);
            cursor:pointer;
        }
    </style>
    <!-- wechat start-->
    <a class="two_codes">
        <img src="<?php echo C('WWWURL');?>/static/style/images/imgs/two_code.png" alt="'好外教'微信" />
        <img src="<?php echo C('WWWURL');?>/static/style/images/index/weibo_logo.png" alt="'好外教'微信" />
    </a>

    <!--版权 End-->
</div>
<div id="tip_my_data_div" style="display:none">
	
	<div class="tipBg"></div>
	<div class="tip tip_my_data">
		<div class="tip_t"><a id="tip_my_data_close" href="###" title="关闭"></a>修改头像</div>
        <!--[if IE 6]><iframe scrolling="no" frameborder="0" style="width:650px;height:490px;background-color:transparent;position:absolute;z-index:-1;"></iframe><![endif]-->
	    <div class="tip_c">
	    	<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
				codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
				WIDTH="650" HEIGHT="450" id="myMovieName">
				<PARAM NAME=movie VALUE="__STYLE__/swf/avatar.swf">
				<PARAM NAME=quality VALUE=high>
				<PARAM NAME=bgcolor VALUE=#FFFFFF>
				<param name="flashvars" value="imgUrl=__IMAGES__/adv.png&uploadUrl=<?php echo C('WWWURL');?>/index.php?mod=uploadimg&&uploadSrc=false" />
				<EMBED src="__STYLE__/swf/avatar.swf" quality=high bgcolor=#FFFFFF WIDTH="650" HEIGHT="450" wmode="transparent" flashVars="imgUrl=__IMAGES__/adv.png&uploadUrl=<?php echo C('WWWURL');?>/index.php?mod=uploadimg&uploadSrc=false"
				NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" allowScriptAccess="always"
				PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
				</EMBED>
			</OBJECT>
	    </div>
	</div>
</div>
<script>
var user_info = <?php echo ($jsonInfo); ?>;
var img = '<?php echo $filename162; ?>';
</script>
<script type="text/javascript" src="__JS__user.js?v=2"></script>